
<form class="layui-form" lay-filter="form">
    {:form_input('wxname','text',['label'=>'Wxname','verify'=>'required','tips'=>'WeChatName'])}
    {:form_input('wx_code','text',['label'=>'Wxcode','verify'=>'required','tips'=>'WeChatNumber'])}
    {:form_radio('type',
    ["1"=>'Ordinary subscription number',"2"=>'Certified subscription number',"3"=>'Ordinary service number',"4"=>'Certified Service Account Certified Media Government Subscription Account'],
    ['verify'=>'required','label'=>'type'],3)
    }
    {:form_input('origin_id','text',['label'=>"Originid",'verify'=>'required'])}
    {:form_input('app_id','text',['label'=>"APPID",'verify'=>'required'])}
    {:form_input('app_secret','text',['label'=>"APPSECRET",'verify'=>'required'])}
    {:form_input('token','text',['label'=>"TOKEN",'verify'=>'required'])}
    {:form_input('aeskey','text',['label'=>"Aeskey",'verify'=>''])}
    {:form_input('encode','text',['label'=>"Encode",'verify'=>''])}
    {:form_upload('qr',$formData,['label'=>'Qrcode','path'=>$addon])}
    {:form_upload('avatar',$formData,['label'=>'avatar','path'=>$addon])}
    {:form_radio('status',['Close','Open'],['label'=>"Status"],1) }
    {:form_input('related','text',['label'=>"related",'verify'=>'','readonly'=>'true'],'addons/wechat/auth/wechatauth/related')}
    {:form_submitbtn()}
</form>
